/*
*
* Author: Allan <qimingos_lsk@163.com>, (C) 2005-2007
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
*
*/

#ifndef _CONFIG_DLG_H_
#define _CONFIG_DLG_H_
	GtkWidget* ConfigDlgInit(GladeXML *xml);
	void on_ConfigDlg_show(GtkWidget *widget, gpointer user_data);
	void on_fcbLyricPath_file_set(GtkFileChooserButton *filechooserbutton, gpointer user_data);
	void on_cbBgColor_color_set(GtkColorButton *widget, gpointer user_data);
	void on_cbLyricColor_color_set(GtkColorButton *widget, gpointer user_data);
	void on_cbCurrColor_color_set(GtkColorButton *widget, gpointer user_data);
	void on_fbLyricFont_font_set(GtkFontButton *widget, gpointer user_data);
	void on_cbSmartShowWindow_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbSmartDownload_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbSaveLyricToSongFolder_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_hsOpacity_value_changed(GtkRange *range, gpointer user_data);
	void on_btnDefaultConfig_clicked(GtkButton *button, gpointer user_data);
	void on_btnCloseConfig_clicked(GtkButton *button, gpointer user_data);
	gboolean on_ConfigDlg_delete_event( GtkWidget *widget, GdkEvent *event, gpointer user_data );
	void on_cbShowOSD_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbShowWindowLyric_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbKaLaOK_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbSaveLyricAsFileName_toggled(GtkToggleButton *togglebutton, gpointer user_data);
	void on_cbOSDHorizontalPos_changed(GtkComboBox * comboBox, gpointer user_data);
	void on_cbOSDVerticalPos_changed(GtkComboBox * comboBox, gpointer user_data);
	void on_fbOSDFont_font_set(GtkFontButton * widget, gpointer user_data);
	void on_cbShowOSDBg_toggled(GtkToggleButton * togglebutton, gpointer user_data);
	void on_entryLyricEncode_focus_out_event(GtkEntry * entry, gpointer user_data);
	void on_cbSearchApp_changed(GtkComboBox * comboBox, gpointer user_data);
#endif
